<%@page import="org.upt.dcda.presentation.SessionAttributes"%>
<%@ taglib prefix="stripes"
	uri="http://stripes.sourceforge.net/stripes.tld"%>
<% 
if (SessionAttributes.isLoggedIn(request) ) {
	response.sendRedirect("index.jsp");	
} else {
%>
<stripes:layout-render name="layout/default.jsp"
	pageTitle="Using A Layout">

	<stripes:layout-component name="pageTitle">
	Bookstore - register
 	</stripes:layout-component>

	<stripes:layout-component name="html_head">

	</stripes:layout-component>

	<stripes:layout-component name="contents">

		<form action="register" method="post">
			First Name: <input type="text" name="firstName"><br>
			Last Name: <input type="text" name="lastName"><br>
			Email: <input type="text" name="email"><br> Password: <input
				type="password" name="password"><br> Address: <input
				type="text" name="address"><br> <input type=submit
				value="Register">
		</form>

	</stripes:layout-component>

</stripes:layout-render>
<%
}
%>